package com.shycloud.mido.task.api.feign;

import com.shycloud.mido.basic.api.entity.BasSubject;
import com.shycloud.mido.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 基础服务查询接口
 * @author yyy
 * @date 2019/2/28
 */
@FeignClient("shycloud-basic-biz")
public interface RemoteBasicService {

	/**
	 * 科目查询接口
	 * @param id
	 * @param id
	 * @return
	 */
	@GetMapping("/subject/getOne")
	R<BasSubject> getSubjectById(@RequestParam("id") Integer id);
}
